import React, { Component } from 'react';
import { Modal, Button } from 'react-bootstrap'
export default class Dialog extends Component {
    constructor(props) {
        super(props)
        this.state = {

        }
    }

    render() {
        return (
            <div className="Dialog_box">
                <Modal size="lg" {...this.props} aria-labelledby="contained-modal-title-vcenter" centered>
                    <Modal.Header closeButton>
                        <Modal.Title id="contained-modal-title-vcenter">{this.props.title}</Modal.Title>
                    </Modal.Header>
                    <Modal.Body>
                        <h4>center body</h4>
                        <p>花费巨大胡椒粉福大和艰苦奋斗是还减肥打卡会激发大家的环境还记得哈肌肤回到拉萨恢复到健康和福建大厦艰苦奋斗和深刻理解</p>
                    </Modal.Body>
                    <Modal.Footer>
                        <Button onClick={this.props.onHide}>close</Button>
                    </Modal.Footer>
                </Modal>
            </div>
        )
    }
}